home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Utilities / No Erase 1.1 ƒ / Read Me < prev   
Encoding:
Text File  |  1994-07-30  |  3.3 KB  |  70 lines  |  [TEXT/ttxt]

  1. No Erase 1.1
  2. © P. Stadelmann, July 1994
  3.  
  4. •• WARNING ••
  5.  
  6. This INIT may not work correctly with new system software, because it makes some assumptions about the configuration and IDs of Finder menus, which Apple may modify in a new Finder release. It SHOULD not cause crashes (I didn't say it won't…), but it may disable the wrong items, possibly in the wrong menu. I will try to release updates to fix problems related to changes in system software .
  7.  
  8. No Erase is also subject to conflict with extensions and control panels that modify the “Special” menu by INSERTING items (appending items at the end should be OK).
  9.  
  10. No Erase only works with the “real” Finder (type 'FNDR' and creator 'MACS'). It won't do anything if At Ease is running.
  11.  
  12. ••••••••••••
  13.  
  14. The reason I wrote this INIT was to help prevent accidental erasure of floppys, disks...(anything that can be erased from the Finder). Your startup disk is protected against accidental erasure because it holds the active system. But if you have more than one hard disk, the other ones don't get that “automatic” protection.
  15.  
  16. So I wrote this quick hack to hide commands in the “Special” menu from users who are not supposed to use them. When No Erase is installed, it disables selected items in the “Special” menu. You can't access these items unless you hold down a “hot key” while pulling down the menu. You can specify items to disable and the “hot key” to hold down to enable them with ResEdit. These informations are stored in the 'Pref' resource ID 128. You can specify a “hot key” for every item it the “Special” menu. For items that don't require the “hot key”, set the code to zero. This INIT was released with the following settings : no item requires “hot key”, but someone may have changed this before you received it.
  17.  
  18. No Erase uses the process manager to check if the Finder is the front app. Thus, it requires System 7.0 or higher. If you install it under System 6.x or lower, it won't do anything nor should it cause the system to crash, but this has not been tested.
  19.  
  20. No Erase is free and may be distributed freely. Please, don't distribute the INIT without this document.
  21.  
  22. I know the icon is ugly (fortunately, you won't see it at startup), but hey it's only a hack.
  23.  
  24. •••••••••
  25. Disclaimer
  26. •••••••••
  27.  
  28. This software comes without any warranty. It has not been extensively tested.
  29. Use it at your own risk. 
  30.  
  31. •••••
  32. Author
  33. •••••
  34.  
  35. Feel free to send me comments, suggestions or bug reports.
  36.  
  37. Patrick Stadelmann
  38. Vergers 22
  39. 2022 Bevaix
  40. SWITZERLAND
  41.  
  42. e-mail : Patrick.Stadelmann@etudiants.unine.ch
  43.  
  44. ••••••••••••
  45. Version history
  46. ••••••••••••
  47.  
  48. 1.0a1
  49. First try...
  50.  
  51. 1.0a2
  52. Fixes a bug which caused sporadic crashes (forgot to initialize some ProcessInfoRec fields...).
  53.  
  54. 1.0a3
  55. Now save and restore register a1 (some programms expect a1 to be preserved by some Toolbox routines even if IM says these routines may modify a1).
  56.  
  57. 1.0a4
  58. Finally correctly saves and restores registers
  59.  
  60. 1.0 — First released version
  61. Now dims the “Erase disk” item when the “hot” key is up.
  62. Now stores “hot key” code in rsrc 'pref' ID 128.
  63.  
  64. 1.0.1 — July 14, 1994
  65. Fixed a nasty bug when running At Ease (No Erase still doesn't do anything in At Ease,
  66. but it won't crash it anymore).
  67.  
  68. 1.1 — July 30, 1994
  69. Changed preference resource type to 'Pref' because 'pref' is reserved by Apple.
  70. Added ability to specify “hot keys” for every items in the “Special” menu